package com.suke.czx.modules.examstack.exam.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.examstack.exam.dao.UserExamHistoryDao;
import com.suke.czx.modules.examstack.exam.entity.UserExamHistoryEntity;
import com.suke.czx.modules.examstack.exam.service.UserExamHistoryService;



@Service("userExamHistoryService")
public class UserExamHistoryServiceImpl implements UserExamHistoryService {
	@Autowired
	private UserExamHistoryDao userExamHistoryDao;
	
	@Override
	public UserExamHistoryEntity queryObject(Integer id){
		return userExamHistoryDao.queryObject(id);
	}
	
	@Override
	public List<UserExamHistoryEntity> queryList(Map<String, Object> map){
		return userExamHistoryDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userExamHistoryDao.queryTotal(map);
	}
	
	@Override
	public void save(UserExamHistoryEntity userExamHistory){
		userExamHistoryDao.save(userExamHistory);
	}
	
	@Override
	public void update(UserExamHistoryEntity userExamHistory){
		userExamHistoryDao.update(userExamHistory);
	}
	
	@Override
	public void delete(Integer id){
		userExamHistoryDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		userExamHistoryDao.deleteBatch(ids);
	}
	
}
